<!DOCTYPE HTML>
<html lang="zh-CN">


<head>
    <meta charset="utf-8">
    <meta name="keywords" content="标签: LCT, love &amp; peace">
    <meta name="description" content="hi story (not history)">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <meta name="renderer" content="webkit|ie-stand|ie-comp">
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <meta name="referrer" content="no-referrer-when-downgrade">
    <!-- Global site tag (gtag.js) - Google Analytics -->


    <title>标签: LCT | Tokyo Ghoul</title>
    <link rel="icon" type="image/jpeg" href="/jinmuyan.jpg">

    <link rel="stylesheet" type="text/css" href="/libs/awesome/css/all.min.css">
    <link rel="stylesheet" type="text/css" href="/libs/materialize/materialize.min.css">
    <link rel="stylesheet" type="text/css" href="/libs/aos/aos.css">
    <link rel="stylesheet" type="text/css" href="/libs/animate/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/libs/lightGallery/css/lightgallery.min.css">
    <link rel="stylesheet" type="text/css" href="/css/matery.css">
    <link rel="stylesheet" type="text/css" href="/css/my.css">

    <script src="/libs/jquery/jquery-3.6.0.min.js"></script>

<meta name="generator" content="Hexo 6.0.0">
<style>.github-emoji { position: relative; display: inline-block; width: 1.2em; min-height: 1.2em; overflow: hidden; vertical-align: top; color: transparent; }  .github-emoji > span { position: relative; z-index: 10; }  .github-emoji img, .github-emoji .fancybox { margin: 0 !important; padding: 0 !important; border: none !important; outline: none !important; text-decoration: none !important; user-select: none !important; cursor: auto !important; }  .github-emoji img { height: 1.2em !important; width: 1.2em !important; position: absolute !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important; user-select: none !important; cursor: auto !important; } .github-emoji-fallback { color: inherit; } .github-emoji-fallback img { opacity: 0 !important; }</style>
<link rel="alternate" href="/atom.xml" title="Tokyo Ghoul" type="application/atom+xml">
</head>



   <style>
    body{
       background-image: url(https://cdn.jsdelivr.net/gh/Tokisaki-Galaxy/res/site/medias/background.jpg);
       background-repeat:no-repeat;
       background-size: 100% 100%;
       background-attachment:fixed;
    }
</style>



<body>
    <header class="navbar-fixed">
    <nav id="headNav" class="bg-color nav-transparent">
        <div id="navContainer" class="nav-wrapper container">
            <div class="brand-logo">
                <a href="/" class="waves-effect waves-light">
                    
                    <img src="/medias/jinmuyan.jpg" class="logo-img" alt="LOGO">
                    
                    <span class="logo-span">Tokyo Ghoul</span>
                </a>
            </div>
            

<a href="#" data-target="mobile-nav" class="sidenav-trigger button-collapse"><i class="fas fa-bars"></i></a>
<ul class="right nav-menu">
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/" class="waves-effect waves-light">
      
      <i class="fas fa-home" style="zoom: 0.6;"></i>
      
      <span>首页</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/tags" class="waves-effect waves-light">
      
      <i class="fas fa-tags" style="zoom: 0.6;"></i>
      
      <span>标签</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/categories" class="waves-effect waves-light">
      
      <i class="fas fa-bookmark" style="zoom: 0.6;"></i>
      
      <span>分类</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/archives" class="waves-effect waves-light">
      
      <i class="fas fa-archive" style="zoom: 0.6;"></i>
      
      <span>归档</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/about" class="waves-effect waves-light">
      
      <i class="fas fa-user-circle" style="zoom: 0.6;"></i>
      
      <span>关于</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/contact" class="waves-effect waves-light">
      
      <i class="fas fa-comments" style="zoom: 0.6;"></i>
      
      <span>留言板</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/friends" class="waves-effect waves-light">
      
      <i class="fas fa-address-book" style="zoom: 0.6;"></i>
      
      <span>友情链接</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/live" class="waves-effect waves-light">
      
      <i class="fas fa-fan" style="zoom: 0.6;"></i>
      
      <span>Live</span>
    </a>
    
  </li>
  
  <li>
    <a href="#searchModal" class="modal-trigger waves-effect waves-light">
      <i id="searchIcon" class="fas fa-search" title="搜索" style="zoom: 0.85;"></i>
    </a>
  </li>
</ul>


<div id="mobile-nav" class="side-nav sidenav">

    <div class="mobile-head bg-color">
        
        <img src="/medias/jinmuyan.jpg" class="logo-img circle responsive-img">
        
        <div class="logo-name">Tokyo Ghoul</div>
        <div class="logo-desc">
            
            hi story (not history)
            
        </div>
    </div>

    <ul class="menu-list mobile-menu-list">
        
        <li class="m-nav-item">
	  
		<a href="/" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-home"></i>
			
			首页
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/tags" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-tags"></i>
			
			标签
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/categories" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-bookmark"></i>
			
			分类
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/archives" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-archive"></i>
			
			归档
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/about" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-user-circle"></i>
			
			关于
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/contact" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-comments"></i>
			
			留言板
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/friends" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-address-book"></i>
			
			友情链接
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/live" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-fan"></i>
			
			Live
		</a>
          
        </li>
        
        
        <li><div class="divider"></div></li>
        <li>
            <a href="https://github.com/blinkfox/hexo-theme-matery" class="waves-effect waves-light" target="_blank">
                <i class="fab fa-github-square fa-fw"></i>Fork Me
            </a>
        </li>
        
    </ul>
</div>


        </div>

        
            <style>
    .nav-transparent .github-corner {
        display: none !important;
    }

    .github-corner {
        position: absolute;
        z-index: 10;
        top: 0;
        right: 0;
        border: 0;
        transform: scale(1.1);
    }

    .github-corner svg {
        color: #0f9d58;
        fill: #fff;
        height: 64px;
        width: 64px;
    }

    .github-corner:hover .octo-arm {
        animation: a 0.56s ease-in-out;
    }

    .github-corner .octo-arm {
        animation: none;
    }

    @keyframes a {
        0%,
        to {
            transform: rotate(0);
        }
        20%,
        60% {
            transform: rotate(-25deg);
        }
        40%,
        80% {
            transform: rotate(10deg);
        }
    }
</style>

<a href="https://github.com/blinkfox/hexo-theme-matery" class="github-corner tooltipped hide-on-med-and-down" target="_blank"
   data-tooltip="Fork Me" data-position="left" data-delay="50">
    <svg viewBox="0 0 250 250" aria-hidden="true">
        <path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
        <path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
              fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path>
        <path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
              fill="currentColor" class="octo-body"></path>
    </svg>
</a>
        
    </nav>

</header>

    <div class="bg-cover pd-header about-cover">
    <div class="container">
    <div class="row">
    <div class="col s10 offset-s1 m8 offset-m2 l8 offset-l2">
        <div class="brand">
            <div class="title center-align">
                
                be better day by day
                
            </div>

            <div class="description center-align">
                
                <span id="subtitle"></span>
                <script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.11"></script>
                <script>
                    var typed = new Typed("#subtitle", {
                        strings: [ 
                            
                                "随着岁数的增长孩子识别了危险信号.....下次旅游想去哪里爸爸带你去，生意不太景气没对儿子说几句......孩子意识到了拍拍老爸没说话  19岁虚荣心和野望在不断扩大",
                            
                                "我变得如此世故圆滑但仍做不到坏，我会延续我的道路但也记住你教我的爱.......我要比努力更努力的拼，我知道我想要爬到山顶，我会证明我会澄清我会代表刘家的声音。谢谢你的教导我心里才有一条线，再圆滑也不做烂人无论多苦也不变，但是我真的做不到清高，想证明你是错的，人优先该保护自己除了家人都是过客......",
                            
                        ],
                        startDelay: 300,
                        typeSpeed: 200,
                        loop: true,
                        backSpeed: 200,
                        showCursor: true
                    });
                </script>
                
            </div>
        </div>
    </div>
</div>


<script>
    // 每天切换 banner 图.  Switch banner image every day.
    var bannerUrl = "/medias/banner/" + new Date().getDay() + '.jpg';
    $('.bg-cover').css('background-image', 'url(' + bannerUrl + ')');
</script>


    </div>
</div>

<main class="content">

    

<div id="tags" class="container chip-container">
    <div class="card">
        <div class="card-content">
            <div class="tag-title center-align">
                <i class="fas fa-tags"></i>&nbsp;&nbsp;文章标签
            </div>
            <div class="tag-chips">
                
                
                <a href="/tags/%E7%88%AC%E8%99%AB/" title="爬虫: 2">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="爬虫" style="background-color: #F9EBEA;">爬虫
                        <span class="tag-length">2</span>
                    </span>
                </a>
                
                
                <a href="/tags/python/" title="python: 2">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="python" style="background-color: #F5EEF8;">python
                        <span class="tag-length">2</span>
                    </span>
                </a>
                
                
                <a href="/tags/requests/" title="requests: 2">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="requests" style="background-color: #D5F5E3;">requests
                        <span class="tag-length">2</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E5%8D%8F%E8%AE%AE/" title="协议: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="协议" style="background-color: #E8F8F5;">协议
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E8%AE%AD%E7%BB%83/" title="训练: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="训练" style="background-color: #FEF9E7;">训练
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/csp/" title="csp: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="csp" style="background-color: #F8F9F9;">csp
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/acwing/" title="acwing: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="acwing" style="background-color: #82E0AA;">acwing
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/leetcode/" title="leetcode: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="leetcode" style="background-color: #D7BDE2;">leetcode
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E7%89%9B%E5%AE%A2/" title="牛客: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="牛客" style="background-color: #A3E4D7;">牛客
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E6%8B%93%E6%89%91%E6%8E%92%E5%BA%8F/" title="拓扑排序: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="拓扑排序" style="background-color: #85C1E9;">拓扑排序
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/dfs%E5%BA%8F/" title="dfs序: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="dfs序" style="background-color: #F8C471;">dfs序
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E8%AE%B0%E5%BF%86%E5%8C%96%E6%90%9C%E7%B4%A2/" title="记忆化搜索: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="记忆化搜索" style="background-color: #F9E79F;">记忆化搜索
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E5%89%AA%E6%9E%9D/" title="剪枝: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="剪枝" style="background-color: #F9EBEA;">剪枝
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/dp%E8%AE%A1%E6%95%B0/" title="dp计数: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="dp计数" style="background-color: #D7BDE2;">dp计数
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E9%9A%BE%E9%A2%98/" title="难题: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="难题" style="background-color: #E8F8F5;">难题
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E5%89%8D%E7%BC%80%E5%92%8C/" title="前缀和: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="前缀和" style="background-color: #F9E79F;">前缀和
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E8%B4%AA%E5%BF%83/" title="贪心: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="贪心" style="background-color: #F9EBEA;">贪心
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E7%8A%B6%E6%80%81%E5%8E%8B%E7%BC%A9/" title="状态压缩: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="状态压缩" style="background-color: #85C1E9;">状态压缩
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E6%80%9D%E7%BB%B4/" title="思维: 2">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="思维" style="background-color: #82E0AA;">思维
                        <span class="tag-length">2</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E6%A0%91%E7%8A%B6%E6%95%B0%E7%BB%84/" title="树状数组: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="树状数组" style="background-color: #D7BDE2;">树状数组
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E6%A0%91%E5%BD%A2dp/" title="树形dp: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="树形dp" style="background-color: #E8F8F5;">树形dp
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E6%B7%B7%E5%90%88%E8%83%8C%E5%8C%85/" title="混合背包: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="混合背包" style="background-color: #FEF9E7;">混合背包
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E5%88%86%E7%BB%84%E8%83%8C%E5%8C%85/" title="分组背包: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="分组背包" style="background-color: #FFF;">分组背包
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E5%88%86%E5%B1%82%E5%9B%BE/" title="分层图: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="分层图" style="background-color: #85C1E9;">分层图
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E7%BB%84%E5%90%88%E6%95%B0%E5%AD%A6/" title="组合数学: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="组合数学" style="background-color: #E8F8F5;">组合数学
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E6%9E%84%E9%80%A0/" title="构造: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="构造" style="background-color: #82E0AA;">构造
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" title="数据结构: 3">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="数据结构" style="background-color: #F5EEF8;">数据结构
                        <span class="tag-length">3</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E5%8A%A8%E6%80%81%E6%A0%91/" title="动态树: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="动态树" style="background-color: #FEF9E7;">动态树
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/LCT/" title="LCT: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-active "
                            data-tagname="LCT" style="background-color: #F8F9F9;">LCT
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E6%A0%91%E9%93%BE%E5%89%96%E5%88%86/" title="树链剖分: 2">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="树链剖分" style="background-color: #A3E4D7;">树链剖分
                        <span class="tag-length">2</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E5%8C%BA%E9%97%B4dp/" title="区间dp: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="区间dp" style="background-color: #D7BDE2;">区间dp
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E6%9C%9F%E6%9C%9Bdp/" title="期望dp: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="期望dp" style="background-color: #E8F8F5;">期望dp
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E5%87%B8%E5%8C%85/" title="凸包: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="凸包" style="background-color: #A3E4D7;">凸包
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/LSTM/" title="LSTM: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="LSTM" style="background-color: #A3E4D7;">LSTM
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E7%89%B9%E5%BE%81%E9%A2%84%E6%B5%8B/" title="特征预测: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="特征预测" style="background-color: #FEF9E7;">特征预测
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/tags/%E7%BA%BF%E6%AE%B5%E6%A0%91/" title="线段树: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="线段树" style="background-color: #F8F9F9;">线段树
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
            </div>
        </div>
    </div>
</div>

    

    <article id="articles" class="container articles">
        <div class="row tags-posts">
            
            
            <div class="article tag-post col s12 m6 l4" data-tags="数据结构, 动态树, LCT" data-aos="fade-up">
                <div class="card">
                    <a href="/2022/05/11/lct-dong-tai-shu/">
                        <div class="card-image tag-image">
                            
                            
                            <img src="/medias/featureimages/%E5%AE%89%E6%99%BA%E7%84%9514.jpg" class="responsive-img" alt="LCT动态树">
                            
                            <span class="card-title">LCT动态树</span>
                        </div>
                    </a>
                    <div class="card-content article-content">
                        <div class="publish-info">
                            <span class="publish-date">
                                <i class="far fa-clock fa-fw icon-date"></i>2022-05-11
                            </span>
                            <span class="publish-author">
                                
                                <i class="fas fa-bookmark fa-fw icon-category"></i>
                                
                                <a href="/categories/%E7%AE%97%E6%B3%95/" class="post-category">
                                算法
                                </a>
                                
                                
                            </span>
                        </div>
                    </div>
                </div>
            </div>
            
        </div>
    </article>
</main>




    <footer class="page-footer bg-color">
    

    <div class="container row center-align"
         style="margin-bottom: 0px !important;">
        <div class="col s12 m8 l8 copy-right">
            Copyright&nbsp;&copy;
            
                <span id="year">2022</span>
            
            <a href="/about" target="_blank">��ҫ��</a>
            |&nbsp;Powered by&nbsp;<a href="https://hexo.io/" target="_blank">Hexo</a>
            |&nbsp;Theme&nbsp;<a href="https://github.com/blinkfox/hexo-theme-matery" target="_blank">Matery</a>
            <br>
            
                &nbsp;<i class="fas fa-chart-area"></i>&nbsp;站点总字数:&nbsp;<span
                        class="white-color">37.1k</span>
            
            
            
                
            
            
                <span id="busuanzi_container_site_pv">
                &nbsp;|&nbsp;<i class="far fa-eye"></i>&nbsp;总访问量:&nbsp;
                    <span id="busuanzi_value_site_pv" class="white-color"></span>
            </span>
            
            
                <span id="busuanzi_container_site_uv">
                &nbsp;|&nbsp;<i class="fas fa-users"></i>&nbsp;总访问人数:&nbsp;
                    <span id="busuanzi_value_site_uv" class="white-color"></span>
            </span>
            
            <br>

            <!-- 运行天数提醒. -->
            
            <br>
            
        </div>
        <div class="col s12 m4 l4 social-link social-statis">
    <a href="https://github.com/hyw200199" class="tooltipped" target="_blank" data-tooltip="访问我的GitHub" data-position="top" data-delay="50">
        <i class="fab fa-github"></i>
    </a>



    <a href="mailto:2372847321@qq.com" class="tooltipped" target="_blank" data-tooltip="邮件联系我" data-position="top" data-delay="50">
        <i class="fas fa-envelope-open"></i>
    </a>







    <a href="tencent://AddContact/?fromId=50&fromSubId=1&subcmd=all&uin=2372847321" class="tooltipped" target="_blank" data-tooltip="QQ联系我: 2372847321" data-position="top" data-delay="50">
        <i class="fab fa-qq"></i>
    </a>



    <a href="https://weibo.com/huyaowen200199" class="tooltipped" target="_blank" data-tooltip="关注我的微博: https://weibo.com/huyaowen200199" data-position="top" data-delay="50">
        <i class="fab fa-weibo"></i>
    </a>



    <a href="https://www.zhihu.com/people/unravel-7-4-18" class="tooltipped" target="_blank" data-tooltip="关注我的知乎: https://www.zhihu.com/people/unravel-7-4-18" data-position="top" data-delay="50">
        <i class="fab fa-zhihu1">知</i>
    </a>



    <a href="/atom.xml" class="tooltipped" target="_blank" data-tooltip="RSS 订阅" data-position="top" data-delay="50">
        <i class="fas fa-rss"></i>
    </a>

</div>
    </div>
</footer>

<div class="progress-bar"></div>


    <!-- 搜索遮罩框 -->
<div id="searchModal" class="modal">
    <div class="modal-content">
        <div class="search-header">
            <span class="title"><i class="fas fa-search"></i>&nbsp;&nbsp;搜索</span>
            <input type="search" id="searchInput" name="s" placeholder="请输入搜索的关键字"
                   class="search-input">
        </div>
        <div id="searchResult"></div>
    </div>
</div>

<script type="text/javascript">
$(function () {
    var searchFunc = function (path, search_id, content_id) {
        'use strict';
        $.ajax({
            url: path,
            dataType: "xml",
            success: function (xmlResponse) {
                // get the contents from search data
                var datas = $("entry", xmlResponse).map(function () {
                    return {
                        title: $("title", this).text(),
                        content: $("content", this).text(),
                        url: $("url", this).text()
                    };
                }).get();
                var $input = document.getElementById(search_id);
                var $resultContent = document.getElementById(content_id);
                $input.addEventListener('input', function () {
                    var str = '<ul class=\"search-result-list\">';
                    var keywords = this.value.trim().toLowerCase().split(/[\s\-]+/);
                    $resultContent.innerHTML = "";
                    if (this.value.trim().length <= 0) {
                        return;
                    }
                    // perform local searching
                    datas.forEach(function (data) {
                        var isMatch = true;
                        var data_title = data.title.trim().toLowerCase();
                        var data_content = data.content.trim().replace(/<[^>]+>/g, "").toLowerCase();
                        var data_url = data.url;
                        data_url = data_url.indexOf('/') === 0 ? data.url : '/' + data_url;
                        var index_title = -1;
                        var index_content = -1;
                        var first_occur = -1;
                        // only match artiles with not empty titles and contents
                        if (data_title !== '' && data_content !== '') {
                            keywords.forEach(function (keyword, i) {
                                index_title = data_title.indexOf(keyword);
                                index_content = data_content.indexOf(keyword);
                                if (index_title < 0 && index_content < 0) {
                                    isMatch = false;
                                } else {
                                    if (index_content < 0) {
                                        index_content = 0;
                                    }
                                    if (i === 0) {
                                        first_occur = index_content;
                                    }
                                }
                            });
                        }
                        // show search results
                        if (isMatch) {
                            str += "<li><a href='" + data_url + "' class='search-result-title'>" + data_title + "</a>";
                            var content = data.content.trim().replace(/<[^>]+>/g, "");
                            if (first_occur >= 0) {
                                // cut out 100 characters
                                var start = first_occur - 20;
                                var end = first_occur + 80;
                                if (start < 0) {
                                    start = 0;
                                }
                                if (start === 0) {
                                    end = 100;
                                }
                                if (end > content.length) {
                                    end = content.length;
                                }
                                var match_content = content.substr(start, end);
                                // highlight all keywords
                                keywords.forEach(function (keyword) {
                                    var regS = new RegExp(keyword, "gi");
                                    match_content = match_content.replace(regS, "<em class=\"search-keyword\">" + keyword + "</em>");
                                });

                                str += "<p class=\"search-result\">" + match_content + "...</p>"
                            }
                            str += "</li>";
                        }
                    });
                    str += "</ul>";
                    $resultContent.innerHTML = str;
                });
            }
        });
    };

    searchFunc('/search.xml', 'searchInput', 'searchResult');
});
</script>

    <!-- 回到顶部按钮 -->
<div id="backTop" class="top-scroll">
    <a class="btn-floating btn-large waves-effect waves-light" href="#!">
        <i class="fas fa-arrow-up"></i>
    </a>
</div>


    <script src="/libs/materialize/materialize.min.js"></script>
    <script src="/libs/masonry/masonry.pkgd.min.js"></script>
    <script src="/libs/aos/aos.js"></script>
    <script src="/libs/scrollprogress/scrollProgress.min.js"></script>
    <script src="/libs/lightGallery/js/lightgallery-all.min.js"></script>
    <script src="/js/matery.js"></script>

    

    
        
        <script type="text/javascript">
            // 只在桌面版网页启用特效
            var windowWidth = $(window).width();
            if (windowWidth > 768) {
                document.write('<script type="text/javascript" src="/libs/others/sakura.js"><\/script>');
            }
        </script>
    

    <!-- 雪花特效 -->
     
        <script type="text/javascript">
            // 只在桌面版网页启用特效
            var windowWidth = $(window).width();
            if (windowWidth > 768) {
                document.write('<script type="text/javascript" src="/libs/others/snow.js"><\/script>');
            }
        </script>
    

    <!-- 鼠标星星特效 -->
     
        <script type="text/javascript">
            // 只在桌面版网页启用特效
            var windowWidth = $(window).width();
            if (windowWidth > 768) {
                document.write('<script type="text/javascript" src="/libs/others/star.js"><\/script>');
            }
        </script>
    

     
        <script src="https://ssl.captcha.qq.com/TCaptcha.js"></script>
        <script src="/libs/others/TencentCaptcha.js"></script>
        <button id="TencentCaptcha" data-appid="xxxxxxxxxx" data-cbfn="callback" type="button" hidden></button>
    

    <!-- Baidu Analytics -->

    <!-- Baidu Push -->

<script>
    (function () {
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        } else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
</script>

    
    <script src="/libs/others/clicklove.js" async="async"></script>
    
    
    <script async src="/libs/others/busuanzi.pure.mini.js"></script>
    

    

    

    <!--腾讯兔小巢-->
    
    

    

    

    
    <script src="/libs/instantpage/instantpage.js" type="module"></script>
    

</body>

</html>
